import { useUserStore } from '@/stores/user'
import { useCounterStore } from '@/stores/counter'
import { createPinia } from 'pinia'

const pinia = createPinia()
const userStore = useUserStore(pinia)
const counterStore = useCounterStore(pinia)

export const getUserInfo = () => {
  return userStore.userInfo
}

export const getToken = () => {
  return userStore.token
}

export const getCount = () => {
  return counterStore.count
}

export const getDoubleCount = () => {
  return counterStore.doubleCount
}








